<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>权限管理</title>
</head>
<body class="hold-transition skin-black sidebar-mini">
    <div th:replace="common/fragment :: link"></div>
    <div class="wrapper">
        <div th:replace="common/fragment :: navbar"></div>
        <div th:replace="common/fragment :: menu"></div>
        <div class="content-wrapper">
            <section class="content-header">
                <h1>日志管理</h1>
            </section>
            <section class="content">
                <div class="box" >
                    <!--高级查询--->
                    <form class="form-inline" id="searchForm" action="/log/list" method="post">
                        <input type="hidden" name="currentPage" id="currentPage" value="1">
                        <div class="form-group">
                            <label for="keyword">关键字:</label>
                            <input type="text" class="form-control" th:value="${log.keyword}" id="keyword" name="keyword" placeholder="请输入用户名">
                        </div>
<!--                        <div class="form-group">-->
<!--                            <label for="minDate">时间范围:</label>-->
<!--                            <input type="datetime-local" class="form-control" th:value="${#dates.format(log.minDate,'yyyy-MM-dd HH:mm')}" id="minDate" name="time">-->
<!--                        </div>-->
<!--                        <div class="form-group">-->
<!--                            <label for="maxDate">-</label>-->
<!--                            <input type="datetime-local" class="form-control" th:value="${#dates.format(log.maxDate,'yyyy-MM-dd HH:mm')}" id="maxDate" name="time">-->
<!--                        </div>-->
                        <input type="submit" th:value="提交">
                    </form>

                    <div class="box-body table-responsive ">
                        <table class="table table-hover table-bordered table-striped" >
                            <thead>
                            <tr>
                                <th>编号</th>
                                <th>操作模块</th>
                                <th>业务类型</th>
                                <th>请求方法</th>
                                <th>请求方式</th>
                                <th>操作人员</th>
                                <th>部门名称</th>
                                <th>请求地址</th>
                                <th>操作 ip</th>
                                <th>请求参数</th>
                                <th>返回数据</th>
                                <th>操作状态</th>
                                <th>错误信息</th>
                                <th>操作时间</th>
                            </tr>
                            </thead>
                            <tbody>
                                <tr th:each="t:${pageInfo.list}">
                                    <td th:text="${t.id}">1</td>
                                    <td th:text="${t.title}">部门查询</td>
                                    <td th:text="${t.businessType}">department:list</td>
                                    <td th:text="${t.method}">department:list</td>
                                    <td th:text="${t.requestMethod}">department:list</td>
                                    <td th:text="${t.operatorName}">department:list</td>
                                    <td th:text="${t.deptName}">department:list</td>
                                    <td th:text="${t.operUrl}">department:list</td>
                                    <td th:text="${t.operIp}">department:list</td>
                                    <td th:text="${t.operParam}">department:list</td>
                                    <td th:text="${t.jsonResult}">department:list</td>
                                    <td th:text="${t.status}">department:list</td>
                                    <td th:text="${t.errorMsg}">department:list</td>

                                    <td th:text="${#dates.format(t.operTime,'yyyy-MM-dd HH:mm')}">department:list</td>
                                </tr>
                            </tbody>
                        </table>
                        <div th:replace="common/fragment :: page"></div>
                    </div>
                </div>
            </section>
        </div>
        <div th:replace="common/fragment :: footer"></div>
    </div>
</body>
</html>